Convert search to use a GtkFileSystemModel
authorBenjamin Otte <otte@gnome.org>
Wed, 24 Jun 2009 20:43:14 +0000 (22:43 +0200)
committerBenjamin Otte <otte@gnome.org>
Thu, 15 Oct 2009 20:01:09 +0000 (22:01 +0200)
commit5a31dfd66beabb43206a6c23a699a3297cd9cac3
treeab46eca367a7da6a8c8ca5cbbf8c9754d1e810f3
parent390a3910f51fbb101bf6959ff681ab3df9556394
Convert search to use a GtkFileSystemModel

Replace the list model code with the file system model and use all the
file system model API niceties we get from that.
Also adds the function _gtk_file_system_model_add_and_query_file() which
g_file_query_info()'s the file before adding it, so it gets added with
the right information.
gtk/gtkfilechooserdefault.c
gtk/gtkfilechooserprivate.h
gtk/gtkfilesystemmodel.c
gtk/gtkfilesystemmodel.h